<?php 
header ("Content-Type:text/html; charset= utf-8");
require_once ('config.php');
require_once (WEBURL.'/login_status_check.php');
if(!checkLogin()){
	$gotopage=base64_encode("attachment_manage.php");
	header("Location:admin_login.php?gotopage=".$gotopage);
}
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>附件管理</title>

		<!-- jQuery and jQuery UI (REQUIRED) -->
		<link rel="stylesheet" type="text/css" href="include/gpfinder/js/jquery/jquery-ui.css">
		<script src="include/gpfinder/js/jquery/jquery.min.js"></script>
		<script src="include/gpfinder/js/jquery/jquery-ui.min.js"></script>

		<!-- Finder CSS (REQUIRED) -->
		<link rel="stylesheet" type="text/css" href="include/gpfinder/css/finder.css">
		<!--  -->
     <link rel="stylesheet" type="text/css" href="include/gpfinder/themes/MacOS.css">
		<!-- Finder JS (REQUIRED) -->
		<script src="include/gpfinder/js/finder.js"></script>

		<!-- Finder translation (OPTIONAL)-->
		<script src="include/gpfinder/js/i18n/zh_CN.js"></script>
		
		<!-- Finder initialization (REQUIRED) -->
		<script type="text/javascript" charset="utf-8">
			// Documentation for client options:
			// https://github.com/oyejorge/gpFinder/wiki/Client-configuration-options
			$().ready(function() {
				$('#finder').finder({
					url : 'include/gpfinder/php/connector_for_attachment.php',  // connector URL (REQUIRED)
					 lang: 'zh_CN',  // language (OPTIONAL)
				     height:'500'                 
				});
			});
		</script>
	</head>
	<body>

		<!-- Element where Finder will be created (REQUIRED) -->
		<div id="finder"></div>

	</body>
</html>
